package com.guiji.quartz.task;


import com.guiji.quartz.domain.EnPeopleBusiness;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * @program: cms-vue-plus
 * @description:
 * @author: wangxw
 * @date 2021/11/15 10:34
 */
@Component("enPeopleBusinessTask")
public class EnPeopleBusinessTask {

	private static final Logger log = LoggerFactory.getLogger(EnPeopleBusinessTask.class);

	public void enPeopleBusinessTask() throws Exception {
		Long startTime = System.currentTimeMillis();
		EnPeopleBusiness enPeopleBusiness = new EnPeopleBusiness();
		try {
			enPeopleBusiness.mainMethod();
		} catch (Exception e) {
		} finally {
			log.info("EnPeopleBusinessTask-end-:{}", System.currentTimeMillis() - startTime);
		}

	}
}

